<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="check_logstate.jsp"></jsp:include>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!doctype html>
<html lang="zh_CN">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎使用大学生实训平台</title>
<script type="text/javascript" src="lib/layui/layui.js"></script>
<script type="text/javascript" src="lib/layui/controller.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/goods.js" charset="utf-8"></script>
<script type="text/javascript" src="js/selimage.js" charset="utf-8"></script>
<link rel="stylesheet" href="css/font.css">
<link rel="stylesheet" href="css/xadmin.css">
<script type="text/javascript" src="<%=basePath%>My97DatePicker/WdatePicker.js" charset="utf-8"></script>
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body layui-table-body layui-table-main">
						<form class="layui-form" style="width: 80%;" action="goods/addGoods.action" name="myform" method="post">
 <div class="layui-form-item"><label class="layui-form-label">岗位名称</label><div class="layui-input-block"><input type="text" name="goodsname" class="layui-input" id="goodsname" placeholder="请输入岗位名称" /></div></div>
<div class="layui-form-item"><label class="layui-form-label">岗位类型</label><div class="layui-input-block"><select name="cateid" class="layui-input" id="cateid" ><c:forEach items="${cateList}" var="cate"><option value="${cate.cateid}">${cate.catename }</option></c:forEach></select></div></div>
<div class="layui-form-item"><label class="layui-form-label">封面图片</label><div class="layui-input-block"><input class="layui-input" type="text" name="image" id="image" onclick="selimage();" placeholder="请选择图片" readonly="readonly" /></div></div>
<div class="layui-form-item"><label class="layui-form-label">岗位薪资</label><div class="layui-input-block"><input type="text" name="salary" class="layui-input" id="salary" placeholder="请输入岗位薪资" /></div></div>
<div class="layui-form-item"><label class="layui-form-label">结束日期</label><div class="layui-input-block"><input type="text" name="theend" class="layui-input" id="theend" onclick="WdatePicker()" readonly="readonly" placeholder="请输入结束日期"/></div></div>
<div class="layui-form-item"><label class="layui-form-label">岗位数量</label><div class="layui-input-block"><input type="text" name="num" class="layui-input" id="num" placeholder="请输入岗位数量" /></div></div>
<div class="layui-form-item"><label class="layui-form-label">岗位详情</label><div class="layui-input-block"><script type="text/javascript" src="ckeditor/ckeditor.js"></script><textarea cols="80" name="contents"  id="contents" rows="10"placeholder="请输入岗位详情"> </textarea><script type="text/javascript">CKEDITOR.replace( 'contents',{language : 'zh-cn'});</script></div></div>

<div class="layui-form-item">
<div class="layui-input-block">
	<button type="submit" class="layui-btn" id="sub">提交保存</button>
	<button type="reset" class="layui-btn" id="res">取消重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

